package Dao;

import java.util.List;

import JavaServlet.TimeServlet.Student;


public interface IStudentDao {

	 //增加
	public List<Student> selectAll();
	public List<Student> selectByName(String name);
	//插入
	public Integer insert(Student student);
	//修改
	public Integer update(Student student);
	//删除
	public Integer deleteById(Integer id);
	public List<Student> searchName(String searchName);
	public Integer getTotalCount();
	public Student selectById(int id);
	public List<Student> pageList(int offset, Integer pageSize);
}
